That said to be possessed by someone who is obsessed with something or only able to think of one thing.
He has a one-track mind. All he ever talks about is trains and railroads.